package com.lj.mcore.service;

import com.lj.mcore.dao.base.BaseAppDAO;
import com.lj.mcore.entity.Accessory;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;


@Service
@Transactional
@Repository
public class AccessoryService  implements IAccessoryService{

    @Resource(name="accessoryDao")
    private BaseAppDAO<Accessory> accessoryDao;


    @Override
    public boolean save(Accessory obj) {
        return accessoryDao.save(obj);
    }

    @Override
    public boolean delete(Long paramLong) {
        return false;
    }

    @Override
    public boolean update(Accessory obj) {
        return false;
    }

    @Override
    public Accessory getObjById(Long paramLong) {
        return accessoryDao.findById(paramLong);
    }

    @Override
    public Accessory getSingleResult(Map<String, Object> map) {
        return null;
    }

    @Override
    public List<Accessory> query(String hql, Map paramMap, int paramInt1, int paramInt2) {
        return null;
    }
}
